﻿@{
    ViewBag.Title = "EnterKeyDetect";
    Layout = "~/Views/Shared/_Page.cshtml";
}

<h2>Enter Key Detect</h2>

<input id="myInput" type="text" class="inputbox" />

<script type="text/javascript">
    $(document).ready(function () {
        $('#myInput').keydown(function (event) {
            if (event.which == 13) {
                ZEUS.DEBUG.log('Enter key pressed');
            }
        });
    });
</script>